class FixWrongIdColumn < ActiveRecord::Migration
  def self.up
    rename_column(:ad_shipping_methods, :ad_shipping_method_id, :id)
    rename_column(:shipping_areas, :shipping_area_id, :id)
    rename_column(:payment_methods, :payment_method_id, :id)
    rename_column(:ad_payment_methods, :ad_payment_method_id, :id)
  end

  def self.down
  end
end
